﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DefRewardsTypeList.aspx.cs"
    Inherits="UI.ModEmployee.DefRewardsTypeList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>奖惩类别定义</title>
    <link rel="stylesheet" type="text/css" href="../Styles/BaseStyle.css" />
    <script type="text/javascript" src="../JS/jsFunction.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="pagetop" class="pagetop">
        <div class="pagetopleft">
            <b>定义奖惩类别</b></div>
        <div class="pagetopright">
            <asp:Button ID="btnAdd" CssClass="InputCss" runat="server" Text="增加" />
            <asp:Button ID="btnShowOpen" runat="server" Text="开启项" CssClass="InputCss" OnClick="btnShowOpen_Click" />
            <asp:Button ID="btnShowClose" runat="server" Text="关闭项" CssClass="InputCss" OnClick="btnShowClose_Click" />&nbsp;
            &nbsp; <a href="#" onclick="javascript:window.location.reload()">刷新</a> <a href="javascript:history.back()">
                后退</a>
        </div>
    </div>
    <asp:GridView ID="gvList" runat="server" AutoGenerateColumns="False" DataKeyNames="ID"
        HorizontalAlign="Center" Width="98%" OnRowDataBound="gvList_RowDataBound">
        <Columns>
            <asp:TemplateField>
                <ItemTemplate>
                    <asp:CheckBox ID="CheckBox1" runat="server" />
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="ID" HeaderText="ID" SortExpression="ID" />
            
            <asp:BoundField DataField="AbsIndex" HeaderText="排序" SortExpression="AbsIndex" />
            <asp:TemplateField HeaderText="名称" SortExpression="Name">
                <ItemTemplate>
                    <a href="javascript:ShowLink('DefRewardsTypeAdd.aspx?ID=<%# Eval("ID")%>',600,480)"> <%# Eval("Name")%></a>
                </ItemTemplate>
                <ItemStyle Width="100px" />
            </asp:TemplateField>
            <asp:BoundField DataField="TypeName" HeaderText="类别名称" SortExpression="TypeName" />
            <asp:BoundField DataField="Memo" HeaderText="数量" SortExpression="Memo" />
            <asp:BoundField DataField="Unit" HeaderText="单位" SortExpression="Unit" />
            <asp:BoundField DataField="Statu" HeaderText="状态" SortExpression="Statu" />
        </Columns>
    </asp:GridView>
    <div style="margin-left: 20px">
        <asp:Button ID="btnClose" runat="server" Text="关闭" OnClick="btnClose_Click" />
        &nbsp;<asp:Button ID="btnOpen" runat="server" Text="开启" OnClick="btnOpen_Click" />
    </div>
    </form>
</body>
</html>
